<%--== Handlers ==--%> <%--see_contract_status Opening Initialization directive @1-A0E75F14--%><%!

// //Workaround for JRun 3.1 @1-F81417CB

//CONTRACT_USER_PROJECT Grid Handler Head @2-5C9F6452
    public class see_contract_statusCONTRACT_USER_PROJECTGridHandler implements GridListener, GridDataObjectListener {
//End CONTRACT_USER_PROJECT Grid Handler Head

//CONTRACT_USER_PROJECT BeforeShow Method Head @2-46046458
        public void beforeShow(Event e) {
//End CONTRACT_USER_PROJECT BeforeShow Method Head

//CONTRACT_USER_PROJECT BeforeShow Method Tail @2-FCB6E20C
        }
//End CONTRACT_USER_PROJECT BeforeShow Method Tail

//CONTRACT_USER_PROJECT BeforeShowRow Method Head @2-BDFD38FC
        public void beforeShowRow(Event e) {
//End CONTRACT_USER_PROJECT BeforeShowRow Method Head

//CONTRACT_USER_PROJECT BeforeShowRow Method Tail @2-FCB6E20C
        }
//End CONTRACT_USER_PROJECT BeforeShowRow Method Tail

//CONTRACT_USER_PROJECT BeforeSelect Method Head @2-E5EC9AD3
        public void beforeSelect(Event e) {
//End CONTRACT_USER_PROJECT BeforeSelect Method Head

//CONTRACT_USER_PROJECT BeforeSelect Method Tail @2-FCB6E20C
        }
//End CONTRACT_USER_PROJECT BeforeSelect Method Tail

//CONTRACT_USER_PROJECT BeforeBuildSelect Method Head @2-3041BA14
        public void beforeBuildSelect(DataObjectEvent e) {
//End CONTRACT_USER_PROJECT BeforeBuildSelect Method Head

//CONTRACT_USER_PROJECT Default Values for Select Query (SQL) @2-7F2F1B43
            try {
                ((SqlParameter)e.getParameter("PROGRAMMER_ID")).setDefaultValue(-1);
            } catch(java.text.ParseException ignore) {}
            try {
                ((SqlParameter)e.getParameter("CONTRACT_ID")).setDefaultValue(-1);
            } catch(java.text.ParseException ignore) {}
//End CONTRACT_USER_PROJECT Default Values for Select Query (SQL)

//CONTRACT_USER_PROJECT BeforeBuildSelect Method Tail @2-FCB6E20C
        }
//End CONTRACT_USER_PROJECT BeforeBuildSelect Method Tail

//CONTRACT_USER_PROJECT BeforeExecuteSelect Method Head @2-8391D9D6
        public void beforeExecuteSelect(DataObjectEvent e) {
//End CONTRACT_USER_PROJECT BeforeExecuteSelect Method Head

//CONTRACT_USER_PROJECT BeforeExecuteSelect Method Tail @2-FCB6E20C
        }
//End CONTRACT_USER_PROJECT BeforeExecuteSelect Method Tail

//CONTRACT_USER_PROJECT AfterExecuteSelect Method Head @2-0972E7FA
        public void afterExecuteSelect(DataObjectEvent e) {
//End CONTRACT_USER_PROJECT AfterExecuteSelect Method Head

//CONTRACT_USER_PROJECT AfterExecuteSelect Method Tail @2-FCB6E20C
        }
//End CONTRACT_USER_PROJECT AfterExecuteSelect Method Tail

//CONTRACT_USER_PROJECT Grid Handler Tail @2-FCB6E20C
    }
//End CONTRACT_USER_PROJECT Grid Handler Tail

//if_contract_on_built Grid Handler Head @35-A4D0C097
    public class see_contract_statusif_contract_on_builtGridHandler implements GridListener, GridDataObjectListener {
//End if_contract_on_built Grid Handler Head

//if_contract_on_built BeforeShow Method Head @35-46046458
        public void beforeShow(Event e) {
//End if_contract_on_built BeforeShow Method Head

//if_contract_on_built BeforeShow Method Tail @35-FCB6E20C
        }
//End if_contract_on_built BeforeShow Method Tail

//if_contract_on_built BeforeShowRow Method Head @35-BDFD38FC
        public void beforeShowRow(Event e) {
//End if_contract_on_built BeforeShowRow Method Head

//if_contract_on_built BeforeShowRow Method Tail @35-FCB6E20C
        }
//End if_contract_on_built BeforeShowRow Method Tail

//if_contract_on_built BeforeSelect Method Head @35-E5EC9AD3
        public void beforeSelect(Event e) {
//End if_contract_on_built BeforeSelect Method Head

//if_contract_on_built BeforeSelect Method Tail @35-FCB6E20C
        }
//End if_contract_on_built BeforeSelect Method Tail

//if_contract_on_built BeforeBuildSelect Method Head @35-3041BA14
        public void beforeBuildSelect(DataObjectEvent e) {
//End if_contract_on_built BeforeBuildSelect Method Head

//if_contract_on_built Default Values for Select Query (SQL) @35-7F2F1B43
            try {
                ((SqlParameter)e.getParameter("PROGRAMMER_ID")).setDefaultValue(-1);
            } catch(java.text.ParseException ignore) {}
            try {
                ((SqlParameter)e.getParameter("CONTRACT_ID")).setDefaultValue(-1);
            } catch(java.text.ParseException ignore) {}
//End if_contract_on_built Default Values for Select Query (SQL)

//if_contract_on_built BeforeBuildSelect Method Tail @35-FCB6E20C
        }
//End if_contract_on_built BeforeBuildSelect Method Tail

//if_contract_on_built BeforeExecuteSelect Method Head @35-8391D9D6
        public void beforeExecuteSelect(DataObjectEvent e) {
//End if_contract_on_built BeforeExecuteSelect Method Head

//if_contract_on_built BeforeExecuteSelect Method Tail @35-FCB6E20C
        }
//End if_contract_on_built BeforeExecuteSelect Method Tail

//if_contract_on_built AfterExecuteSelect Method Head @35-0972E7FA
        public void afterExecuteSelect(DataObjectEvent e) {
//End if_contract_on_built AfterExecuteSelect Method Head

//if_contract_on_built AfterExecuteSelect Method Tail @35-FCB6E20C
        }
//End if_contract_on_built AfterExecuteSelect Method Tail

//if_contract_on_built Grid Handler Tail @35-FCB6E20C
    }
//End if_contract_on_built Grid Handler Tail

//Comment workaround @1-A0AAE532
%> <%
//End Comment workaround

//Processing @1-C399C415
    Page see_contract_statusModel = (Page)request.getAttribute("see_contract_status_page");
    Page see_contract_statusParent = (Page)request.getAttribute("see_contract_statusParent");
    if (see_contract_statusModel == null) {
        PageController see_contract_statusCntr = new PageController(request, response, application, "/gharardad/programmer_part/see_contract_status.xml", "ISO-8859-1" );
        see_contract_statusModel = see_contract_statusCntr.getPage();
        //if (see_contract_statusParent != null) {
            //if (!see_contract_statusParent.getChild(see_contract_statusModel.getName()).isVisible()) return;
        //}
    ((Grid)see_contract_statusModel.getChild("CONTRACT_USER_PROJECT")).addGridListener(new see_contract_statusCONTRACT_USER_PROJECTGridHandler());
    ((Grid)see_contract_statusModel.getChild("if_contract_on_built")).addGridListener(new see_contract_statusif_contract_on_builtGridHandler());
        see_contract_statusCntr.process();
%>
<%
        if (see_contract_statusParent == null) {
            if (see_contract_statusModel.redirect()) return;
            see_contract_statusModel.setCookies();
        } else {
            see_contract_statusModel.redirect();
        }
    }
//End Processing

%>
